home *** CD-ROM | disk | FTP | other *** search
- // NO PP!!!
- // don't touch the line above.
-
- // ***************************************************
-
- // this script has a normal mission script structure, except for
- // the two part runcombat sub - which are run before and after the
- // actual mission runbefore sub.
-
- script user_autoexec
-
- permanentGlobal int,demo
- permanentGlobal int,general_difficulty_level
- permanentGlobal int,damage_amount_level
- permanentGlobal int,item_amount_level
- permanentGlobal int,hostile_amount_level
-
- // ---------------------------------------------------
-
- // what to do before combat (when entering the menus)
- // called just before mission file parsing.
- // (therefore allowing last chance mission file change)
- sub runbefore
- setValue 1
- setVariable demo
- endSub
-
- // ---------------------------------------------------
-
- // what to do when the combat (mission) begins
- // just before normal mission runcombat sub
- sub runcombat
- setValue 1
- setVariable demo
- endSub
-
- // ---------------------------------------------------
-
- // what to do when the combat (mission) begins
- // shortly after normal mission runcombat sub
- // (after unit, light, etc. init)
- sub runcombat2
- setValue 1
- setVariable demo
- endSub
-
- // ---------------------------------------------------
-
- // what to do after the combat (mission) has ended
- sub runafter
- // nop
- endSub
-
- // ---------------------------------------------------
-
- endScript
-
- // ***************************************************
-
-